# 设置变量
qq_number = "1234567"
qq_password = "123"
# 输出变量
print(qq_number)
print(qq_password)

# 应用：买苹果计算价格（立返5元）
price = 8.5
weight = 7.5
money = weight * price
money = money - 5
print(money)

"""个人信息
name = "小明"  # str
身高 = 1.7  # float
age = 18  #int
gender = False  #bool布尔类型(真假)
"""

# 拼接字符串
first_name = "Yuxin"
last_name = "Wu"
print(last_name + first_name)  # 第一张拼接方式
print(last_name * 2)  #第二种拼接方式